<#assign side_nav = 'my-group'/>
<#assign tab_nav = 'index' />

<@block_title '我的小组'/>

<#include '/group/my-layout.ftl'/>

<#macro blockMain>
    <#assign class = 'panel-col'/>
    <#include '/bootstrap/panel.ftl' />
</#macro>

<#macro blockHeading>我的小组</#macro>

<#macro blockPanelBody>
<div class="row">
    <div class="col-md-12">
        <#include '/group/group-member-nav-pill.ftl'/>
        <#if adminGroups??>
        <div class="page-header">
            <h4> 我管理的小组</h4>
        </div>
        <#assign oldGroup = groups/>
        <#assign groups = adminGroups/>
        <#include '/group/groups-ul.ftl'/>
        <#assign groups = oldGroup/>
        </#if>
    </div>
    <div class="col-md-12">
        <div class="page-header">
            <h4> 我加入的小组</h4>
        </div>
        <#include '/group/groups-ul.ftl'/>
    </div>
    <div class="col-md-12 pull-left">
        <@web_macro.paginator paginator!/>
    </div>
</div>

</#macro>
